package com.kch.system.mapper;

import com.kch.system.domain.Enterprise;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EnterpriseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Enterprise record);

    int insertSelective(Enterprise record);

    Enterprise selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Enterprise record);

    int updateByPrimaryKey(Enterprise record);

    Enterprise selectByUserId(@Param("userId") Integer userId);

    List<Enterprise> selectEnterprisePage(Enterprise enterprise);

    Enterprise selectPassByUserId(@Param("userId") Integer userId);
}